<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
</head>
<body>
<h1>欢迎访问test页面</h1>


<script>

    $.ajax({
        url: "weixin/payMchJsSign",
        type: "get",
        data: {"appId":appId,"openId":openId,"body":"趣划算净水器","out_trade_no":orderNo,"total_fee":"1","trade_type":"JSAPI"},
        dataType: "json",
        success: function (json) {
            alert(JSON.stringify(json))
        }
    })
</script>
</body>
</html>